#include "StartScene.h"
#include "../GlobalLayer.h"


StartScene::StartScene(void)
{
	
}


StartScene::~StartScene(void)
{
}

bool StartScene::init()
{
	State::init();
	/*pBg = CCSprite::create("start_bg.png");
	CCSize size2 = pBg->getContentSize();
	pBg->setPosition(ccp(pBg->getContentSize().width/2, pBg->getContentSize().height/2));
	this->addChild(pBg);*/
	return true;
}

void StartScene::onEnter()
{
	State::onEnter();
	GlobalLayer::getSingletonPtr()->show();
}

void StartScene::onExit()
{
	State::onExit();
	GlobalLayer::getSingletonPtr()->hide();
}

